@import 'style/vars.less';
:global {
  .ant-form-item-has-error {
    .wy-msgEditor {
      border:1px solid @error-color;
    }
  }
}
.msgEditor {
  .msgEditor-footer {
    border: 1px solid #dadada;
    border-top: 0 none;
    background: #fff;
  }
  .text-editor {
    resize: none;
    background: #f4f4f4;
    height: 300px;
  }
}

.editor-toobar {
  min-height: 40px;
  position: relative;
  background-color: #fff;
  padding: 4px;
  border: 1px solid #dadada;
  border-bottom: none;
  .toolbar-action {
    cursor: pointer;
    display: inline-block;
    padding: 8px;
    line-height: 14px;
    font-size: 14px;
    user-select: none;
    -webkit-user-select: none;
    &:hover {
      background: #f8f8f8;
      color: @primary-color;
    }
  }
  .right-toolbar {
    position: absolute;
    right: 4px;
    top: 4px;
    color: @primary-color;
  }
}
